
<div class="example-1" style="padding-left:150px;">

<?php
$attributes=array('style' => 'padding-top:50px');
 echo form_open('staff/new_staff',$attributes); ?>
   <h2> Staff </h2>
    <div class="ffield">
	       <label>First Name </label> <input type="text" name="first_name" /><br/>       
    </div>
    <div class="ffield">
	  	<label>Last Name </label>   <input type="text" name="last_name" /><br/>
    </div>
	<div class="ffield">
		<label> Gender </label>   Male<input type="radio"  name="gender" value="male"/>  Female<input type="radio" name="gender"  value="female"/> <br/>
	</div>
	<div class="ffield">
		<label> Staff Code </label> <input type="text" name="staff_code" /><br/>
	</div>
	<div class="ffield">
		<label> Designation </label> Teacher<input type="checkbox" value="1" name="teaching"/>    
                                     Other<input type="checkbox" value="0" name="teaching"/> <br/>         
	</div>
	<div class="ffield">
		<label> Date of birth </label> <input type="text" name="dob" /><br/>
	</div>
	<div class="ffield">
		<label> Landline </label> <input type="text" name="land_line" /><br/>
	</div>
	<div class="ffield">
		<label> Mobile </label> <input type="text" name="mobile_no" /><br/>
	</div>
	<div class="ffield1">
		<label> Address </label>     <textarea name="address" cols="15" rows="2"></textarea><br/>
	</div>
    <div class="nButton">
    	<input type="submit" name="submit" value="submit"/>
     </div>

</form>

</div>